package com.ikun.auth.domain.convert;


import com.ikun.auth.domain.entity.AuthRoleBO;
import com.ikun.auth.domain.entity.AuthUserBO;
import com.ikun.auth.infra.basic.entity.AuthRole;
import com.ikun.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
* @Description: 角色dto转换器
* @Author: gqh
* @Date: 2024/5/18 12:28
*/
@Mapper
public interface AuthRoleBOConverter {

    AuthRoleBOConverter INSTANCE = Mappers.getMapper(AuthRoleBOConverter.class);

    AuthRole convertBOToEntity(AuthRoleBO authRoleBO);

}